//
//  UserDetailController.swift
//  用户详情
//
//  Created by jin on 2024/9/9.
//

import UIKit

class UserDetailController : BaseTitleController{
    
    var id:String!
    var nickname:String?
    
    override func initViews() {
        super.initViews()
        initLinearLayoutSafeArea()
        
        title = R.string.localizable.userDetail()
    }
}

extension UserDetailController{
    /// 启动方法
    static func start(_ controller:UINavigationController,id:String="-1", nickname:String?=nil) {
        let target = UserDetailController()
        target.id=id
        target.nickname=nickname
        controller.pushViewController(target, animated: true)
    }
}
